package com.sgcc.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 监控指标对象 o_mon_tar
 * 
 * @author sgcc
 * @date 2021-03-22
 */
public class OMonTar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private String id;

    /** 监控指标编码 */
    @Excel(name = "监控指标编码")
    private String monTarCode;

    /** 监控系统 */
    @Excel(name = "监控系统")
    private String monSysCode;

    /** 监控类型 */
    @Excel(name = "监控类型")
    private String monType;

    /** 监控点 */
    @Excel(name = "监控点")
    private String monPoint;

    /** 监控点说明 */
    @Excel(name = "监控点说明")
    private String monPointDesc;

    /** 监控方案 */
    @Excel(name = "监控方案")
    private String monScheme;

    /** 看板指标展示 */
    @Excel(name = "看板指标展示")
    private String monAbbr;

    /** 预警方式 */
    @Excel(name = "预警方式")
    private String warnType;

    /** 短信发送群组 */
    @Excel(name = "短信发送群组")
    private String groupId;

    /** 短信模板 */
    @Excel(name = "短信模板")
    private String smsTemplate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /** 是否开启调用探测接口 */
    @Excel(name = "是否开启调用探测接口")
    private String isEnabled;

    /** 对方接口方法名 */
    @Excel(name = "对方接口方法名")
    private String serviceName;

    /** 设置判断类型 */
    @Excel(name = "设置判断类型")
    private String verdType;

    /** 持续时间 */
    @Excel(name = "持续时间")
    private Long nContin;

    /** 是否扣除节假日 */
    @Excel(name = "是否扣除节假日")
    private String outHolidays;

    /** 调用方接口推送频率 */
    @Excel(name = "调用方接口推送频率")
    private String freq;

    /** 监控状态 */
    @Excel(name = "监控状态")
    private String monStatus;

    /** 统计方法 */
    @Excel(name = "统计方法")
    private String statWay;

    /** 分组字段 */
    @Excel(name = "分组字段")
    private String groupField;

    /** 持续时间单位 */
    @Excel(name = "持续时间单位")
    private String unitType;

    /** 是否排除下班时间，采用标志编码yesOrNO 1是，0否，默认为0否 */
    @Excel(name = "是否排除下班时间，采用标志编码yesOrNO 1是，0否，默认为0否")
    private String isWorktime;
    
    private String option;
    
    

    public String getOption() {
		return option;
	}

	public void setOption(String option) {
		this.option = option;
	}

	public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMonTarCode(String monTarCode) 
    {
        this.monTarCode = monTarCode;
    }

    public String getMonTarCode() 
    {
        return monTarCode;
    }
    public void setMonSysCode(String monSysCode) 
    {
        this.monSysCode = monSysCode;
    }

    public String getMonSysCode() 
    {
        return monSysCode;
    }
    public void setMonType(String monType) 
    {
        this.monType = monType;
    }

    public String getMonType() 
    {
        return monType;
    }
    public void setMonPoint(String monPoint) 
    {
        this.monPoint = monPoint;
    }

    public String getMonPoint() 
    {
        return monPoint;
    }
    public void setMonPointDesc(String monPointDesc) 
    {
        this.monPointDesc = monPointDesc;
    }

    public String getMonPointDesc() 
    {
        return monPointDesc;
    }
    public void setMonScheme(String monScheme) 
    {
        this.monScheme = monScheme;
    }

    public String getMonScheme() 
    {
        return monScheme;
    }
    public void setMonAbbr(String monAbbr) 
    {
        this.monAbbr = monAbbr;
    }

    public String getMonAbbr() 
    {
        return monAbbr;
    }
    public void setWarnType(String warnType) 
    {
        this.warnType = warnType;
    }

    public String getWarnType() 
    {
        return warnType;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setSmsTemplate(String smsTemplate) 
    {
        this.smsTemplate = smsTemplate;
    }

    public String getSmsTemplate() 
    {
        return smsTemplate;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setIsEnabled(String isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled() 
    {
        return isEnabled;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setVerdType(String verdType) 
    {
        this.verdType = verdType;
    }

    public String getVerdType() 
    {
        return verdType;
    }
    public void setnContin(Long nContin) 
    {
        this.nContin = nContin;
    }

    public Long getnContin() 
    {
        return nContin;
    }
    public void setOutHolidays(String outHolidays) 
    {
        this.outHolidays = outHolidays;
    }

    public String getOutHolidays() 
    {
        return outHolidays;
    }
    public void setFreq(String freq) 
    {
        this.freq = freq;
    }

    public String getFreq() 
    {
        return freq;
    }
    public void setMonStatus(String monStatus) 
    {
        this.monStatus = monStatus;
    }

    public String getMonStatus() 
    {
        return monStatus;
    }
    public void setStatWay(String statWay) 
    {
        this.statWay = statWay;
    }

    public String getStatWay() 
    {
        return statWay;
    }
    public void setGroupField(String groupField) 
    {
        this.groupField = groupField;
    }

    public String getGroupField() 
    {
        return groupField;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }
    public void setIsWorktime(String isWorktime) 
    {
        this.isWorktime = isWorktime;
    }

    public String getIsWorktime() 
    {
        return isWorktime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("monTarCode", getMonTarCode())
            .append("monSysCode", getMonSysCode())
            .append("monType", getMonType())
            .append("monPoint", getMonPoint())
            .append("monPointDesc", getMonPointDesc())
            .append("monScheme", getMonScheme())
            .append("monAbbr", getMonAbbr())
            .append("warnType", getWarnType())
            .append("groupId", getGroupId())
            .append("smsTemplate", getSmsTemplate())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("isEnabled", getIsEnabled())
            .append("serviceName", getServiceName())
            .append("verdType", getVerdType())
            .append("nContin", getnContin())
            .append("outHolidays", getOutHolidays())
            .append("freq", getFreq())
            .append("monStatus", getMonStatus())
            .append("statWay", getStatWay())
            .append("groupField", getGroupField())
            .append("unitType", getUnitType())
            .append("isWorktime", getIsWorktime())
            .toString();
    }
}
